/**
 * 
 */
package com.wolfpire.info.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wolfpire.system.common.Constants;
import com.wolfpire.system.common.UnCover;

/**
 * 学校服务面向情况表
 * @author lihd
 *
 */

@Entity
@Table(name = "t_school_service_info")
public class SchoolServiceInfo implements Serializable {
	
	private static final long serialVersionUID = -9109635286351034279L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false, length = 16)
	private Long id;//主键Id
	
	@Column(name = "name", length = 50)
	private String name; //
	
	@Column(name = "remark", length = 100)
	private String remark; //备注
	
	@Column(name = "year_", length = 5)
	private Integer year; //年度
	
	@Column(name = "is_regional", length=1)
	private Integer isRegional;// 是否区域性院校（1是， 0不是）
	
	@Column(name = "regional_area", length = 50)
	private String regionalArea; //重点招生区域（区域性院校）
	
	@Column(name = "recruit_local_percent", length = 10)
	private String recruitLocalPercent; //招收本地生源占比
	
	@Column(name = "regional_train_percent", length = 10)
	private String regionalTrainPercent; //对接本地产业需要的人才培养规模占比
	
	@Column(name = "is_profession", length=1)
	private Integer isProfession;// 是否行业性院校性院校（1是， 0不是）
	
	@Column(name = "profession_area", length = 50)
	private String professionArea; //重点招生区域（行业性院校性院校）
	
	@Column(name = "profession_percent", length = 10)
	private String professionPercent; //行业相关专业招生占比
	
	@Column(name = "profession_train_percent", length = 10)
	private String professionTrainPercent; //行业相关人才培养规模占比
	
	@Column(name = "create_user_id", length = 16)
	private Long createUserId; //创建用户Id
	
	@Column(name = "create_user_name", length = 50)
	private String createUserName; //创建用户名称
	
	@UnCover
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_time")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") 
	private Date createTime = new Date();//创建时间
	
	@Column(name = "del_flag", length = 1)
	private Integer delFlag = Constants.NORMAL_FLAG;
	
	public SchoolServiceInfo() {
		// TODO Auto-generated constructor stub
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getIsRegional() {
		return isRegional;
	}

	public void setIsRegional(Integer isRegional) {
		this.isRegional = isRegional;
	}

	public String getRegionalArea() {
		return regionalArea;
	}

	public void setRegionalArea(String regionalArea) {
		this.regionalArea = regionalArea;
	}

	public String getRecruitLocalPercent() {
		return recruitLocalPercent;
	}

	public void setRecruitLocalPercent(String recruitLocalPercent) {
		this.recruitLocalPercent = recruitLocalPercent;
	}

	public String getRegionalTrainPercent() {
		return regionalTrainPercent;
	}

	public void setRegionalTrainPercent(String regionalTrainPercent) {
		this.regionalTrainPercent = regionalTrainPercent;
	}
	
	public Integer getIsProfession() {
		return isProfession;
	}

	public void setIsProfession(Integer isProfession) {
		this.isProfession = isProfession;
	}

	public String getProfessionArea() {
		return professionArea;
	}

	public void setProfessionArea(String professionArea) {
		this.professionArea = professionArea;
	}

	public String getProfessionPercent() {
		return professionPercent;
	}

	public void setProfessionPercent(String professionPercent) {
		this.professionPercent = professionPercent;
	}

	public String getProfessionTrainPercent() {
		return professionTrainPercent;
	}

	public void setProfessionTrainPercent(String professionTrainPercent) {
		this.professionTrainPercent = professionTrainPercent;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

}
